// 手机端
@media screen and (max-width: 376px) {
  .home {
    width: 100%;

    /* 底部 */
    .foot {
      width: 100%;
      height: 100%;
      margin: auto;
      margin-top: 20px;
      background-image: url(/img/wx3-1.png);
      background-blend-mode: lighten;
      background-size: cover;
      padding-top: 10px;
      .foot-one {
        display: block;
        margin: auto;
        width: 90%;
        text-align: left;
        img:nth-child(1) {
          width: 60%;
          height: 30px;
          line-height: 30px;
          margin-left: -10px;
          border-right: 1px solid white;
        }
        img:nth-child(2) {
          width: 30%;
          height: 30px;
          line-height: 30px;
          margin-left: 5px;
        }
      }
      .foot-top {
        width: 90%;
        margin: auto;
        display: flex;
        justify-content: space-between;
        .left {
          width: 58%;

          ul {
            li:nth-child(1) {
              font-size: 0.9rem;
              margin-bottom: 20px;
            }

            li {
              margin-top: 5px;
              color: white;
              list-style-type: none;
              font-size: 0.6rem;
            }
          }
        }

        .center {
          display: none;
          width: 50%;
          img {
            display: none;

            margin: auto;
            margin-top: 50px;
            width: 80%;
            height: 80px;
          }
        }

        .right {
          width: 38%;
          .code {
            display: block;
            width: 50%;
            height: 60px;
            margin-left: 30px;
            margin-top: 30px;
          }
          img:nth-child(1) {
            display: none;
            margin-left: 10px;
            width: 40px;
            height: 40px;
          }

          img:nth-child(2) {
            display: none;

            margin-top: 70px;
            margin-left: 20px;
            width: 38px;
            height: 38px;
          }
        }
      }

      .foot-bottom {
        margin-top: 10px;
        padding-bottom: 10px;
        text-align: center;
        font-size: 0.5rem;

        p {
          color: white;
        }
      }
    }
    //学生动态
    .dynamics {
      width: 90%;
      margin: auto;

      .dynamics-all {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

        .dynamics-left {
          width: 100%;
          height: 100%;
          position: relative;
          border-radius: 5px;

          .top1 {
            top: 20px;
            right: 15px;
            position: absolute;
            width: 90%;
            height: 80%;
            border: 1px solid white;
            text-align: center;

            h1 {
              margin-top: 80px;
              font-weight: normal;
              color: white;
              font-size: 1rem;
            }

            p {
              width: 25%;
              height: 25px;
              line-height: 25px;
              margin-top: 15px;
              margin-left: 110px;
              background-color: #e69c19;
              color: white;
              font-size: 0.8rem;
            }
          }

          img {
            width: 100%;
            height: 100%;
            border-radius: 5px;
          }
        }

        .dynamics-right {
          width: 100%;
          display: flex;
          justify-content: space-between;
          flex-wrap: wrap;
          margin-top: 10px;
          .dynamics-four {
            width: 48%;
            height: 48%;
            border-radius: 5px;
            margin-top: 10px;
            p {
              width: 100%;
              height: 20px;
              line-height: 20px;
              text-align: center;
              margin-top: -30px;
              color: white;
              background-color: rgba(0, 0, 0, 0.2);
              font-size: 0.8rem;
            }

            img {
              border-radius: 5px;
              width: 100%;
              height: 100%;
            }
          }
        }
      }

      .dynamics-bottom {
        display: none;
      }
    }

    // 教研成果
    .topic {
      width: 100%;
      height: 100%;
      background-image: url(/img/wx1.jpg), linear-gradient(#f00, #f00);
      background-blend-mode: lighten;
      background-size: cover;
      // background-color: #f3e0e2;
      padding-bottom: 50px;
      // opacity: 0.2;

      .news {
        padding-top: 30px;
        width: 85%;
        margin: auto;

        .color {
          margin-top: 30px;
          background: linear-gradient(to top, #fdfdfd, #d6d6d6);
          -webkit-background-clip: text;
          background-clip: text;
          color: transparent;
          font-weight: bold;
          font-size: 1.1rem;
          text-align: center;
          position: relative;

          .newcolor {
            font-weight: bold;
            font-size: 1.2rem;
            color: #ca1818;
            position: absolute;
            right: 37%;
            top: -3px;
          }
        }
      }

      .all {
        position: relative;

        .news-bottom {
          width: 90%;
          margin: auto;
          display: flex;
          justify-content: space-between;
          flex-wrap: wrap;
          // .center:hover {
          //   margin-top: 15px;

          //   .center-top {
          //     p {
          //       background-color: rgba($color: #a6c6e2, $alpha: 0.5);
          //     }
          //   }
          // }

          .center {
            margin-top: 30px;
            width: 100%;
            height: 10%;
            border-radius: 10px;
            background-color: white;
            .center-top {
              border-top-left-radius: 10px;
              border-top-right-radius: 10px;
              width: 100%;
              height: 100%;
              position: relative;
              img {
                border-top-left-radius: 10px;
                border-top-right-radius: 10px;
                width: 100%;
                height: 200px;
              }

              p {
                // display: none;
                width: 100%;
                height: 100%;
                border-top-left-radius: 10px;
                border-top-right-radius: 10px;
                padding: 50px;
                font-size: 0rem;
                text-align: center;
                background-color: rgba($color: #8f9498, $alpha: 0.5);
                position: absolute;
                top: 0;
                color: white;
              }
            }

            .center-bottom {
              padding: 30px;
              text-align: left;
              font-size: 0.8rem;
              .p2 {
                display: block;
                margin-top: 10px;
                display: flex;
                justify-content: right;
                align-items: center;
                font-size: 0.7rem;
                color: #dd7c7c;

                img {
                  margin-right: 5px;
                  width: 15px;
                  height: 15px;
                }
              }
            }
          }
        }
      }

      .news3 {
        display: none;
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
        padding: 40px;
        color: #c3c3c3;

        img {
          transform: rotate(180deg);
          width: 20px;
          height: 20px;
          margin-left: 5px;
        }
      }
    }

    // 技能大赛
    .skills {
      width: 90%;
      margin: auto;

      .tdesign-demo-block--swiper {
        display: none;
        margin-bottom: 50px;
      }

      .center {
        display: block;
        display: flex;
        justify-content: space-between;
        margin-bottom: 50px;

        .center1 {
          display: none;
          width: 30px;
          height: 250px;
          line-height: 250px;

          img {
            width: 100%;
            height: 30px;
            transform: rotate(180deg);
          }
        }

        .center2 {
          width: 100%;
          display: flex;
          justify-content: space-between;
          flex-wrap: wrap;

          .center-one {
            margin-top: 10px;
            width: 100%;
            height: 30%;
            position: relative;

            .center-top {
              position: absolute;
              top: 0;
              left: 0;
              width: 45%;
              height: 80%;
              background-color: rgba(220, 38, 38, 0.7);
              padding-left: 10px;
              padding-top: 20px;

              p:nth-child(1) {
                width: 60%;
                line-height: 20px;
                font-size: 0.8rem;
                text-align: center;
                background-color: #e6ca2b;
              }

              p:nth-child(2) {
                margin-top: 5px;
                color: white;
                font-size: 1rem;
              }

              img {
                margin-top: 5px;
                width: 20px;
                height: 20px;
              }
            }

            img {
              width: 100%;
              height: 180px;
            }
          }
        }

        .center3 {
          display: none;
          width: 30px;
          height: 250px;
          line-height: 250px;

          img {
            width: 100%;
            height: 30px;
          }
        }
      }
    }

    // 当团建设
    .constr {
      width: 90%;
      margin: auto;
      margin-top: 10px;

      .construction {
        // margin-top: 30px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        background-color: #f3f3f3;

        // .demo1 {
        //   width: 100%;
        //   display: block;
        //   display: flex;
        //   justify-content: space-between;
        //   border-bottom: 2px solid #c0cbe0;
        //   background-color: white;
        //   // border: 1px solid #000;
        // }

        .left {
          width: 100%;

          .all-left {
            margin-bottom: 30px;
            margin-top: 10px;

            .left1 {
              width: 15%;
              height: 80px;
              float: left;
              text-align: center;
              background-color: #ca0000;
              color: white;
              padding-top: 10px;

              h1 {
                font-weight: normal;
              }

              p {
                font-size: 0.6rem;
              }
            }

            .left2 {
              background-color: white;
              height: 80px;
              padding-top: 20px;
              font-size: 0.8rem;
            }
          }
        }

        .img {
          display: none;
        }

        .right {
          // display: none;
          width: 100%;

          .all-left {
            margin-bottom: 30px;
            margin-top: 10px;

            .left1 {
              width: 15%;
              height: 80px;
              float: left;
              text-align: center;
              background-color: #ca0000;
              color: white;
              padding-top: 10px;

              h1 {
                font-weight: normal;
              }

              p {
                font-size: 0.6rem;
              }
            }

            .left2 {
              background-color: white;
              height: 80px;
              padding-top: 20px;
              font-size: 0.8rem;
            }
          }
        }
      }
    }

    // 院部新闻
    .Department {
      width: 90%;
      margin: auto;

      // 中间
      .conter {
        .news1 {
          width: 100%;
          text-align: center;

          .news-right {
            background-color: white;
            height: 200px;
            border: 1px solid #f4f4f4;
            border-radius: 5px;
            width: 100%;
            position: relative;

            .border {
              width: 55%;
              margin-left: 20px;
              border-bottom: 1px solid #ececec;
            }

            p:nth-child(1) {
              // font-weight: bold;
              font-size: 0.8rem;
              color: black;
              padding: 20px;
              height: 60px;
              text-align: left;
            }

            p:nth-child(3) {
              color: red;
              position: absolute;
              top: 27%;
              right: 5%;
              font-size: 0.6rem;
            }

            p:nth-child(4) {
              padding-top: 20px;
              padding-left: 20px;
              padding-right: 20px;
              height: 80px;
              color: black;
              font-size: 0.7rem;
              text-align: left;
            }

            .bottom {
              display: flex;
              justify-content: space-between;
              padding-left: 20px;
              padding-right: 20px;
              height: 50px;
              line-height: 50px;
              margin-top: 10px;

              img:nth-child(1) {
                transform: rotate(180deg);
                width: 20px;
                height: 20px;
              }

              img:nth-child(2) {
                margin-left: 15px;
                width: 20px;
                height: 20px;
              }

              p {
                font-size: 0.8rem;
                color: #cbcbcb;

                span {
                  font-size: 1rem;
                  color: red;
                }
              }
            }
          }

          .news-left {
            width: 100%;
            height: 200px;

            .p1 {
              display: block;
            }
          }

          .image3 {
            width: 100%;
            height: 200px;
          }
        }
      }

      // 底部
      .box-bottom {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 10px;
        // border: 1px solid #000;
        .box-bottom1:hover {
          background-color: #edabac;
        }

        .box-bottom1 {
          padding: 20px;
          width: 100%;
          margin-top: 10px;
          border: 1px solid #f4f4f4;

          p:nth-child(1) {
            font-size: 0.8rem;
          }

          p:nth-child(2) {
            margin-top: 20px;
            display: flex;
            justify-content: right;
            align-items: center;
            font-size: 0.7rem;
            color: red;
            img {
              width: 15px;
              height: 15px;
            }
          }
        }
      }
    }

    // 轮播图
    .tdesign-demo-block--swiper {
      width: 100%;

      img {
        width: 100%;
        height: 200px;
      }
    }

    // 头部导航
    .top {
      background: linear-gradient(to right, #900103, #900103);
      width: 100%;
      height: 44px;
      display: flex;
      justify-content: space-between;
      padding-top: 5px;

      .image1 {
        width: 30%;
        height: 75%;
        margin-top: 5px;
      }

      .image2 {
        width: 50%;
        display: block;
        border-right: 1px solid #feffff;
        height: 75%;
        margin-top: 5px;
        margin-left: 10px;
      }

      .image4 {
        width: 10%;
        display: block;
        height: 75%;
        margin-top: 5px;
        margin-right: 10px;
      }

      .ul-right {
        position: fixed;
        top: 46px;
        z-index: 33;
        display: none;
        width: 100%;
        text-align: left;
        padding-left: 30px;
        background-color: rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 44px rgba(12, 10, 10, 0.6);

        li {
          padding-right: 20px;
          line-height: 30px;
          list-style: none;

          a {
            color: #fff;
            text-decoration: none;
          }
        }
      }
    }
  }
}
